package com.darksides.lendit.manager;

import com.darksides.lendit.exceptions.EmailAlreadyUsedException;
import com.darksides.lendit.exceptions.UserNotFoundException;
import com.darksides.lendit.resource.model.User;

public interface UserManager {

	public User getUser(Long userId);
	
	public User createUser(User user) throws EmailAlreadyUsedException;
	
	public User updateUser(User user);
	
	public User deleteUser(Long userId) throws UserNotFoundException;
	
}